#pragma once

#include "utilities.h"


class CSpider
{
public:
	CSpider(IrrlichtDevice* device, vector3df& position);
	~CSpider(void);

	void update(vector3df& target);
	void kill(void);

	bool checkCollision(IAnimatedMeshSceneNode* nodeToCheck);

	IMeshSceneNode* getNode(void);
	
private:
	ISceneManager*		smgr;
	IVideoDriver*		driver;
	
	IMeshSceneNode*		node;
	array<ITexture*>	texture;
	
	f32					speed;					// Spider movement speed
};

